package com.admin.blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {"com.admin.blog","com.ykh.mybbsdemo.service"})
//@MapperScan("com.admin.blog.dao.mapper")
@MapperScan("com.ykh.mybbsdemo.dao.mapper")
public class AdminApp {

    public static void main(String[] args) {
        SpringApplication.run(AdminApp.class,args);
    }
}